<script lang="ts" setup>
import { useRouter } from "vue-router";

const router = useRouter();
function goToSearchView() {
    router.push({ name: 'search' })
}
</script>

<template>
    <div>
        <img class="w-10 h-10" src="@/assets/card/discover_icon_search.png" alt="img" @click="goToSearchView">
    </div>
</template>